<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>心念--云聊天室</title>
    <link rel="stylesheet" href="./style.css" />
  </head>
  <body>
    <div class="container">
      <header>在线人数：<span class="userTotal">0</span>  <button class="clear">重置角色</button></header>
      
      <main></main>
      <footer>
        <input
          type="text"
          placeholder="请输入要发送的内容..."
          id="messageInput"
        />
        <button id="send">发 送</button>
      </footer>

      <div id="modal">
        <div class="modal-content">
          <h2>请输入昵称</h2>
          <input type="text" />
          <div><button>开始聊天</button></div>
        </div>
      </div>
    </div>
    <script src="./chat.js"></script>
  </body>
</html>
